#include "../include/SearchEngineServer.hpp"

SearchEngineServer(const string & ip, short port);
//与TCP相关，设置好sock
{

}

void SearchEngineServer::start()
//启动服务器
{


}

void SearchEngineServer::onConnection(const TcpConnectionPtr & conn)
{
    _ConnCB = conn;
}

void SearchEngineServer::onMessage(const TcpConnectionPtr & conn)
{
    _MessCB = conn;
}

void SearchEngineServer::onClose(const TcpConnectionPtr & conn)
{
    _ClosCB = conn;
}

void doTaskThread(const TcpConnectionPtr & conn, const string & string)
//工作线程的任务函数，转交给线程池，然后线程池会把他再转交给每个线程
{


}

